package biz.impl;

import java.util.List;
import java.util.Map;

import dao.BoardDao;
import dao.impl.BoardDaoImpl;
import entity.Board;
import biz.BoardBiz;



public class BoardBizImpl implements BoardBiz{
	private BoardDao boardDao=new BoardDaoImpl();
	public Map<Integer, List<Board>> findBoard() {
		return boardDao.findBoard();
	}
	public Board findBoard(int id) throws Exception {
		return boardDao.findBoard(id);
	}
	
}
